<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" rel="stylesheet">
    <title>登录页面</title>
    <style>
        body {
            background-color: #f4f4f9;
            font-family: 'Inter', sans-serif;
        }

        .card {
            transition: all 0.3s ease;
        }

        .card:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transform: translateY(-5px);
        }

        .btn {
            transition: background-color 0.3s ease;
        }

        .btn:hover {
            background-color: #2b6cb0;
        }
    </style>
</head>

<body class="flex items-center justify-center min-h-screen">
    <div class="card bg-white p-8 rounded-lg shadow-md w-full max-w-md">
        <h2 class="text-2xl font-bold text-center text-gray-800 mb-6">用户登录</h2>
        <form action="登录成功.html" method="get">
            <div class="mb-4">
                <label for="username" class="block text-sm font-medium text-gray-700">用户名</label>
                <input type="text" id="username" name="username"
                    class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"
                    placeholder="请输入用户名">
            </div>
            <div class="mb-6">
                <label for="password" class="block text-sm font-medium text-gray-700">密码</label>
                <input type="password" id="password" name="password"
                    class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"
                    placeholder="请输入密码">
            </div>
            <div class="flex items-center justify-between">
                <button type="submit"
                    class="btn bg-blue-600 text-white py-2 px-4 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">登录</button>
                <a href="重置密码.html" class="text-sm text-blue-600 hover:underline">忘记密码?</a>
            </div>
        </form>
        <div class="mt-6 text-center">
            <p class="text-sm text-gray-600">还没有账号? <a href="注册.html" class="text-blue-600 hover:underline">立即注册</a></p>
        </div>
    </div>
</body>

</html>    